package com.anyi.gulimall.product.service;

import com.anyi.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.anyi.gulimall.common.utils.PageUtils;
import com.anyi.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author anyi
 * @email 1961741003@qq.com
 * @date 2022-07-27 10:58:39
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    // 条件查询spu信息
    PageUtils queryPageCondition(Map<String, Object> params);
    // 保存商品信息
    void saveProduct(SpuSaveVo spuSaveVo);
    // 商品上架
    void up(Long spuId);
}

